extends "../cex___toolman/cex___toolman.gd"
func _info():
	pass

func _connect():
	._connect()

func _extInit():
	._extInit()
	chaName = "椰子树"
	lv = 2
	attCoe.atkRan = 0
	attCoe.atk = 0
	attCoe.maxHp = 500 / 112.5 / 2
	aiOn = false
	addSkillTxt("[color=red]无法移动，无法攻击[/color]\n每秒为生命比最低的两个友方回复自身血量上限1%点生命")
var hasplus = false
func _upS():
	._upS()
	var chas = getAllChas(2)
	chas.sort_custom(self,"sort")
	for i in range(2):
		if i >= chas.size():break
		healCha(chas[i],att.maxHp * 0.01)

func sort(a,b):
	return (a.att.hp / a.att.maxHp) < (b.att.hp / b.att.maxHp)